package dao.inte;

import domain.shop.Category;

import java.util.List;

public interface CategoryRepository extends AbstractEntityRepositoryInterface<Category> {

    public Category create() throws Exception;

    public Category createChild(Category category) throws Exception;

    public List<Category> findRoots();

    public List<Category> findChildsByParentId(Long parentId);
}
